package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.Jaguar;


public class Turret {
    Jaguar turretPWM = new Jaguar(RobotMap.turretMotorPWM);
    DigitalInput turretFwdLimSensor = new DigitalInput(RobotMap.turretFowardLimDin, 1);
    DigitalInput turretRevLimSensor = new DigitalInput(RobotMap.turretReverseLimDin, 1);
    
    public Turret() {
        turretPWM.setSafetyEnabled(true);
        turretPWM.setExpiration(0.5);
    }
    
    public void driveMotor(double turretMotor) {
	turretPWM.set(turretMotor);
    }
}
